package com.pd.constant;

/**
 * Created by dong peng on 2017/5/27.
 */
public enum SysContant {

    SUCCESS("0000","成功"),
    BIZ_EXCEPTION("9998","业务执行失败"),
    SYS_EXCEPTION("9997","系统异常"),
    SYS_ERROR("9999","系统错误");

    private final String code;
    private final String msg;

    SysContant(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode(){
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }

}
